package com.leyou.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;


//@SpringBootApplication
//@EnableDiscoveryClient
//@EnableCircuitBreaker
//@EnableZuulProxy
//public class LyApiGateway {
//
//    public static void main(String[] args) {
//        SpringApplication.run(LyApiGateway.class,args);
//    }
//}
@EnableZuulProxy
@SpringCloudApplication
public class LyApiGateway {
    public static void main(String[] args) {
        SpringApplication.run(LyApiGateway.class, args);
    }
}